<table cellspacing="1" cellpadding="4">
    <tr align="center" valign="top">
        <td width="*" align="center" valign="top"><!-- ######### begin ######### -->
            <div class="Block">
                <div class="BlockBar"><?php echo Yii::t('default', '系统配置');?></div>
                <?php echo $this->renderPartial('_search', array('model' => $model)); ?>

                <?php echo $this->renderPartial('/layouts/toolbar'); ?>
                <?php
                $this->widget('zii.widgets.grid.CGridView', array(
                    'id' => 'admin-grid',
                    'cssFile' => Yii::app()->baseurl . '/public/admin/grid.css',
                    'dataProvider' => $model->search,
                    'id' => 'ta',
                    'itemsCssClass' => 'tab',
                    'rowCssClass' => array('rows', 'rows'),
                    'columns' => array(
                        array(
                            'header' => CHtml::activeLabel($model, 'check_all'),
                            'class' => 'CCheckBoxColumn',
                            'selectableRows' => '20',
                            'checked' => 'false',
                            'checkBoxHtmlOptions' => array('name' => 'selected[]', 'class' => 'selected'),
                            'headerHtmlOptions' => array('class' => 'sub', 'width' => '3%'),
                        ),
                        array('name' => 'config_id', 'headerHtmlOptions' => array('width' => '6%')),
                        array('name' => 'config_name', 'headerHtmlOptions' => array('width' => '10%')),
                        array('name' => 'config_value', 'headerHtmlOptions' => array('width' => '10%'), 'type' => 'html'),
                        array('name' => 'config_description', 'headerHtmlOptions' => array('width' => '10%')),
                        array('name' => 'config_create_user', 'headerHtmlOptions' => array('width' => '9%'), 'type' => 'html',),
                        array('name' => 'config_create_time', 'value' => 'date("Y-m-d H:i:s", $data->config_create_time)', 'headerHtmlOptions' => array('width' => '8%')),
                        array(
                            'header' => yii::t('default', '操作'),
                            'class' => 'CButtonColumn',
                            'template' => '{update} &nbsp {delete}',
                            'headerHtmlOptions' => array('width' => '6%'),
                            'updateButtonLabel' => yii::t('default', '修改详细信息'),
                            'updateButtonOptions' => array('class' => 'opendialog gridviewurl',
                            ),
                        ),
                    ),
                        // 'cssFile'=>Yii::app()->request->baseUrl.'/css/base.css',
                ));
                ?>
            </div>
        </td>
    </tr>
</table>